package cn.strive.eams.busRequire.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class BusRequireVO {
    @ApiModelProperty(value = "申请单id")
    Long id;
    @ApiModelProperty(value = "申请人id")
    Long userId;
    @ApiModelProperty(value = "申请人姓名")
    String username;
    @ApiModelProperty(value = "申请人手机号")
    String phone;
    @ApiModelProperty(value = "申请人邮箱")
    String email;
    @ApiModelProperty(value = "申请人部门")
    String department;
    @ApiModelProperty(value = "司机id")
    Long driver;
    @ApiModelProperty(value = "司机姓名")
    String driverName;
    @ApiModelProperty(value = "校车id")
    Long busId;
    @ApiModelProperty(value = "校车车牌")
    String license;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date startTime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date endTime;
    @ApiModelProperty(value = "出发点")
    String startPoint;
    @ApiModelProperty(value = "目的地")
    String endPoint;
    @ApiModelProperty(value = "人数")
    Integer people;
    @ApiModelProperty(value = "申请原因")
    String reason;
    @ApiModelProperty(value = "申请创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "申请修改时间")
    Date updateTime;
    @ApiModelProperty(value = "审核单id")
    Long auditId;
    @ApiModelProperty(value = "具体申请单id")
    Long applyId;
    @ApiModelProperty(value = "申请总单id")
    Long applicationId;
    @ApiModelProperty(value = "审批单顺序")
    Integer sort;
    @ApiModelProperty(value = "申请单状态")
    String auditStatus;
    @ApiModelProperty(value = "驳回原因")
    String rejectReason;
}
